package io.renren.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.dao.WeixinUserDao;
import io.renren.entity.WeixinUser;
import io.renren.service.WeixinUserService;



@Service("weixinUserService")
public class WeixinUserServiceImpl implements WeixinUserService {
	@Autowired
	private WeixinUserDao weixinUserDao;
	
	@Override
	public WeixinUser queryObject(Integer id){
		return weixinUserDao.queryObject(id);
	}
	
	@Override
	public List<WeixinUser> queryList(Map<String, Object> map){
		return weixinUserDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return weixinUserDao.queryTotal(map);
	}
	
	@Override
	public void save(WeixinUser weixinUser){
		weixinUserDao.save(weixinUser);
	}
	
	@Override
	public void update(WeixinUser weixinUser){
		weixinUserDao.update(weixinUser);
	}
	
	@Override
	public void delete(Integer id){
		weixinUserDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		weixinUserDao.deleteBatch(ids);
	}

	
	
}
